﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class Prescription : MarshalByRefObject
    {
        private int prescriptionId;
        private string prescriptionName;
        private string prescriptionNote;

        public override object InitializeLifetimeService()
        {
            return null;
        }
        public Prescription() { }
        public Prescription( string name, string note)
        {
            this.prescriptionName = name;
            this.prescriptionNote = note;
        }

        public int getPrescriptionId()
        {
            return prescriptionId;
        }
        public void setPrescriptionId(int id)
        {
            this.prescriptionId = id;
        }
        public string getPrescriptionName()
        {
            return prescriptionName;
        }
        public void setPrescriptionName(string name)
        {
            this.prescriptionName = name;
        }

        public string getPrescriptionNote()
        {
            return prescriptionNote;
        }
        public void setPrescriptionNote(string note)
        {
            this.prescriptionNote = note;
        }
    }
}
